// export const members = [
//   "伟杰0号","伟杰1号","伟杰2号","伟杰3号","伟杰4号","伟杰5号","伟杰6号","伟杰7号"
// ].map((item, index) => ({ id: `${index}`, name: item }));
 // 原始数组
const names = ["伟杰0号", "伟杰1号", "伟杰2号", "伟杰3号", "伟杰4号", "伟杰5号", "伟杰6号", "伟杰7号"];

// 转换函数
const convertToMembers = (names: string[]): { name: string; phone: string }[] => {
  return names.map((name, index) => ({
    name,
    phone: `1380013800${index}` // 假设的电话号码，以13800138000开始，后面加上索引
  }));
};

// 转换后的数组
export const members = convertToMembers(names);

export type Member = {
  name: string;
  phone: string;
};